var express = require('express');
var router = express.Router();
var request = require('request');
var ticket = require('../ticket.js');
var async = require('async');
var fs = require('fs');
var moment = require('moment');

router.get('/type/:typeid', function(req, res, next) {
    console.log("typeid:" + req.params.typeid);
    res.render('voice', { typeid: req.params.typeid });
});

module.exports = router;